<template>
  <ui-popup
    @onCancel="reject"
    @onSubmit="onSubmit"
    :isFull="params.isFull"
    :title="params.title"
    :isDrag="params.isDrag"
    :isModal="params.isModal"
    isConfirm
  >
    Yoon
  </ui-popup>
</template>
<script>
export default {
  name: 'fullPopup',
  props: {
    params: {
      type: Object,
      default () {
        return {}
      }
    }
  },
  data () {
    return {

    }
  },
  created () {
    console.log(this.params)
  },
  methods: {
    onSubmit () {
      this.resolve()
    }
  }
}
</script>
